package com.darrenchan

object FuncDemo4 {
  def main(args: Array[String]): Unit = {
    var inc = (x: Int) => x + 1
    println(inc(4))
    var res = () => {println("陈驰大佬")}
    res()
  }
}
